package cn.jianyongjie;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.web.servlet.ServletComponentScan;

/**
* @Description: 启动类
* @Author: Jian Yongjie
* @Version: 1.0
* @Date:  2022/4/19 18:46  
*/
@SpringBootApplication
//扫描加载权限的Listener
@ServletComponentScan(value = {"cn.jianyongjie.basic.listener"})
@MapperScan("cn.jianyongjie.*.mapper")
public class PetHomeApp {

    public static void main(String[] args) {
        SpringApplication.run(PetHomeApp.class,args);
    }
}
